﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VirtualTournaments.Biz.Tournaments
{
    class Match
    {
        private Team _local;
        private Team _visitor;
        
        public Team Local
        {
            get { return _local; }
            set { _local = value; }
        }
        
        public Team Visitor
        {
            get { return _visitor; }
            set { _visitor = value; }
        }

        public Match(Team local, Team visitor)
        {
            this._local = local;
            this._visitor = visitor;
        }

        /// <summary>
        /// Devuelve al equipo ganador. Si llega a haber empate devuelve null
        /// </summary>
        /// <returns></returns>
        public virtual Team getWinner()
        {
            throw new NotImplementedException();
        }

        public virtual bool HasFinished()
        {
            throw new NotImplementedException();
        }
    }
}
